package com.jeecg.p3.system.dao;

import com.jeecg.p3.system.entity.Course;
import com.jeecg.p3.system.entity.Product;
import org.apache.ibatis.annotations.Param;
import org.jeecgframework.p3.core.utils.common.PageQuery;
import org.jeecgframework.p3.core.utils.common.PageQueryWrapper;
import org.jeecgframework.p3.core.utils.persistence.GenericDao;

import java.io.Serializable;
import java.util.List;

/**
 * @author binbin
 * @create 2020-09-09 19:54
 */
public interface CourseDao extends GenericDao<Course> {

    public Integer count(PageQuery<Course> pageQuery);

    public List<Course> queryPageList(PageQueryWrapper<Course> wrapper);

    public List<Course> listCourseByProductId(@Param("productId") Long productId);

}
